package dao;

import entity.BookInfo;

import java.sql.SQLException;
import java.util.List;

/**
 * User: key
 * ClassName:Book_InfoDao
 * Date: 2023/5/6
 * Time: 15:07
 * description:
 */
public interface BookInfoDao {
    BookInfo getBookById(int bookId) throws SQLException;

    Long getCount(String countSql, Object[] toArray) throws SQLException;

    List<BookInfo> getBookByKeyWord(String sql, Object[] toArray) throws SQLException;
}
